package com.lagou.dao;

import com.lagou.pojo.User;

import java.util.List;

/**
 * @author zx
 * @date 2021/5/31 20:48
 * @description
 */
public interface IUserDao {

    User findByCondition(User user);

    List<User> findAll();

    int createUser(User user);

    int updateUser(User user);

    int deleteUser(User user);

    int deleteById(Integer id);
}
